package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_delivery_account_detail;

import cn.com.api.mapper.ApiT_delivery_account_detailMapper;

import cn.com.api.service.ApiT_delivery_account_detailService;

/**
 * 
 **/
@Service
public class T_delivery_account_detailServiceImplBase {
	@Autowired
	private ApiT_delivery_account_detailMapper apiT_delivery_account_detailMapper;
    
    // 根据id获取
	public ApiT_delivery_account_detail findT_delivery_account_detailById(Integer id){
		ApiT_delivery_account_detail t_delivery_account_detail = apiT_delivery_account_detailMapper.findT_delivery_account_detailById( id );
		return t_delivery_account_detail;
	}
    
    //查看数据集
	public List<ApiT_delivery_account_detail> findT_delivery_account_details(){
        List<ApiT_delivery_account_detail> t_delivery_account_details = apiT_delivery_account_detailMapper.findT_delivery_account_details();
		return t_delivery_account_details;
    }
    
	// 添加
	public int insertT_delivery_account_detail(ApiT_delivery_account_detail t_delivery_account_detail){
		int ret_I= apiT_delivery_account_detailMapper.insertT_delivery_account_detail(t_delivery_account_detail);
		return ret_I;
	}

	// 修改
	public int updateT_delivery_account_detail(ApiT_delivery_account_detail t_delivery_account_detail){
		int ret_I= apiT_delivery_account_detailMapper.updateT_delivery_account_detail(t_delivery_account_detail);
		return ret_I;
	}
	
    // 删除
	public int deleteT_delivery_account_detail(Integer id){
		int ret_I= apiT_delivery_account_detailMapper.deleteT_delivery_account_detail( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


